<?php 
/**
 * @author Eugenio Fage
 * http://eugeniofage.wordpress.com/
 * http://code.google.com/p/monky/
 * 
 */
?><div class="genericform">
	<br />
  <?php echo $this->Form->create('User', array('action' => 'login','class'=>'insideLabel')); ?>
    <fieldset class="whitebox">
    <legend><span class="sign"><? __('Login') ?></span></legend>
    <?=$this->Session->flash('auth'); ?>
    <?=$this->element('thirdPartyLogin'); ?>
    <?=$this->Form->input('email',array('label'=>'mail','class'=>'title')); ?>
    <?=$this->Form->input('password',array('label'=>'password','class'=>'title','type'=>'password')); ?>
    <?=$this->Form->submit(__('Login',true),array('class'=>'button title')) ?>
    <div align="center"></div>
    </fieldset>
  <?=$this->Form->end(); ?>
  <div style="text-align:center" class="recoverpass">
    <h4><?=$this->Html->link(__('forget your password?',true),array('controller'=>'user','action'=>'remind')) ?></h4>
  </div>
</div>
<?php 
 echo $this->element('js-insidelabel');
?>